package com.sc.auction.common.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author pgc
 * @since 2020-09-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Auction对象", description="")
public class Auction implements Serializable {

    private static final long serialVersionUID=1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "交易状态id ")
    @TableField("statusId")
    private Integer statusId;

    @ApiModelProperty(value = "商品id")
    @TableField("goodsId")
    private Integer goodsId;

    @ApiModelProperty(value = "拍卖起始时间")
    @TableField("startTime")
    private Date startTime;

    @ApiModelProperty(value = "拍卖截至时间")
    @TableField("endTime")
    private Date endTime;

    @ApiModelProperty(value = "保证金")
    @TableField("securityMoney")
    private BigDecimal securityMoney;

    @ApiModelProperty(value = "拍卖备注")
    private String remark;

    @ApiModelProperty(value = "保证金截至时间")
    @TableField("securityMoneyEndTime")
    private Date securityMoneyEndTime;

    @TableField("creationDate")
    private Date creationDate;

    @ApiModelProperty(value = "李思聪")
    @TableField("createdBy")
    private String createdBy;

    @TableField("modifyDate")
    private Date modifyDate;

    @TableField("modifiedBy")
    private String modifiedBy;

    @TableField("goodsName")
    private String goodsName;


    @TableField("goodsType")
    private String goodsType;


}
